package com.cike.composite;

/**
 * @author kou
 */
public class Leaf implements Component{
    private String name;
    public Leaf(String name) {
        this.name = name;
    }
    @Override
    public void operation() {
        System.out.println("Leaf " + name + " operation");
    }
}
